package com.zhangh.summer.admin.support.prometheus.common;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @description: TODO
 * @author: zhanghui  zhanghlucky@163.com
 * @create: 2020-08-26 16:51
 **/
@Configuration
@Slf4j
public abstract class MetricsAbstractConfig {

    protected abstract void initRegister();

    @Bean
    public void register(){
        initRegister();
    }
}
